import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;


public class Liczba2Test {

	Liczba2 m;
	
	@Ignore("not ready yet")@Test
	public void testZamiana() {
	}
	
	@Before
	 public void setUp() {
		m = new Liczba2();
	}

	@Test(timeout=100)
	public void testZamiana2() {
		
		try{
			m.zamiana2(2,2);
		}
		catch(AlaException e){
			
		}
	}
	
	@Test(expected = AlaException.class)
	public void testZamiana3() throws Exception{
		 m.zamiana2(-5,0);
	}

	 @After
	    public void tearDown() {
	    	m=null;
	    }
	
}
